import { createApp } from 'vue';
import { createPinia } from 'pinia';

import App from './App.vue';
import router from './router';
import 'bootstrap/dist/css/bootstrap.css';
import axios from 'axios';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

axios.defaults.baseURL = 'http://localhost:5048';

const app = createApp(App);

app.use(pinia);
app.use(router);

app.mount('#app');
